<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>控制台</title>
		<link rel="stylesheet" type="text/css" href="hCss/identify.css" />
		<link rel="stylesheet" type="text/css" href="hCss/layout.css" />
		<link rel="stylesheet" type="text/css" href="hCss/account.css" />
		<link rel="stylesheet" type="text/css" href="hCss/style.css" />
		<link rel="stylesheet" type="text/css" href="hCss/control_index.css" />
	</head>
<style>
.w-dd{
	width: 100%;
	text-align: center;
	line-height: 24px;
}
.w-dd th{
	font-size: 14px;
	line-height: 36px;
	background-color: #cdd6dd;
}
</style>
	<body>
	<div class="view-topbar">
		<div class="topbar-console">
			<div class="tobar-head fl">
				<a href="#" class="topbar-logo fl">
					<span><img src="Images/logo.png" width="20" height="20"/></span>
				</a>
				<a href="hindex" class="topbar-home-link topbar-btn text-center fl"><span>管理控制台</span></a>
			</div>
		</div>
		<div class="topbar-info">
			<ul class="fr">
				<li class="fl dropdown topbar-notice topbar-btn">
					<a href="hindex" class="dropdown-toggle">
						<span class="icon-notice"></span>
						<span class="topbar-num have">0</span>
					</a>
				</li>
				<li class="fl topbar-info-item">
					<div class="dropdown">
						<a href="hindex" class="topbar-btn">
							<span class="fl text-normal">帮助与文档</span>
							<span class="icon-arrow-down"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="hindex">模板开发手册</a></li>
							<li><a href="hindex">某某数据字典</a></li>
						</ul>
					</div>
				</li>
				<li class="fl topbar-info-item">
					<div class="dropdown">
						<a href="hindex" class="topbar-btn">
							<span class="fl text-normal" th:text="${#session.getAttribute('admin').adminName}">小朱</span>
							<span class="icon-arrow-down"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="hlogin">退出</a></li>
						</ul>
					</div>
				</li>
			</ul>
		</div>
	</div>
		<div class="view-body">
			<div class="view-sidebar">
				<div class="sidebar-content">
					<div class="sidebar-nav">
						<div class="sidebar-title">
							<a href="hindex">
								<span class="icon"><b class="fl icon-arrow-down"></b></span>
								<span class="text-normal">用户中心</span>
							</a>
						</div>
						<ul class="sidebar-trans">
							<li>
								<a href="huserInfo">
									<b class="sidebar-icon"><img src="Images/icon_cost.png" width="16" height="16" /></b>
									<span class="text-normal">商品管理</span>
								</a>
							</li>

							<li>
								<a href="horder">
									<b class="sidebar-icon"><img src="Images/icon_order.png" width="16" height="16" /></b>
									<span class="text-normal">订单管理</span>
								</a>
							</li>
							<a href="hsmsInfo">
								<b class="sidebar-icon"><img src="Images/icon_news.png" width="16" height="16" /></b>
								<span class="text-normal">评价管理</span>
							</a>

						</ul>
					</div>
				</div>
			</div>
			<div class="view-product">
				<div class="info-center">
		            <div class="manage-head">
		                <h6 class="padding-left manage-head-con">订单管理</h6>
		            </div>
					<table class="w-dd">
						<thead>
							<tH >商品名</tH>
							<tH>尺码</tH>
							<tH>数量</tH>
							<tH>总价</tH>
							<tH>订单号</tH>
							<tH>下单用户</tH>
							<tH>地址</tH>
							<tH>电话</tH>
							<th>快递公司</th>
							<th>快递单号</th>
							<th>发货状态</th>
							<th></th>
						</thead>
						<tbody class="w-dd" th:each="order,orderList:${orderList}">
							<td th:text="${order.name}">卫衣</td>
							<td th:text="${order.size}"> xl</td>
							<td th:text="${order.orderNum}">1</td>
							<td th:text="${order.orderPrice}">244</td>
							<td th:text="${order.orderId}">1234567890123</td>
							<td th:text="${order.userName}">mode</td>
							<td th:text="${order.userAdress}">河南省周口市</td>
							<td th:text="${order.userPhone}">18336552802</td>
							<td th:text="${order.trackingName}"></td>
							<td th:text="${order.trackingNumber}"></td>
							<td th:text="${order.orderState}">未发货</td>
							<td><a th:href="|htrack?id=${order.id}|">填写快递单号</a></td>
						</tbody>

					</table>
		        </div>
		        <div class="show-page padding-big-right hidden">
					<div class="page">
					</div>
		        </div>
			</div>
		</div>

		<script>
			$(".sidebar-title").live('click', function() {
				if ($(this).parent(".sidebar-nav").hasClass("sidebar-nav-fold")) {
					$(this).next().slideDown(200);
					$(this).parent(".sidebar-nav").removeClass("sidebar-nav-fold");
				} else {
					$(this).next().slideUp(200);
					$(this).parent(".sidebar-nav").addClass("sidebar-nav-fold");
				}
			});
		</script>
	</body>

</html>